package com.travelcloud.module.sys.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 用户实体类
 *
 * @author Zee
 */
@Data
@ApiModel(value = "LoginUserInfo", description = "用户信息")
public class SysUser {
    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "用户账号（英文字母和数字，长度在6-20），且用户账号不能修改")
    private String userName;
    @ApiModelProperty(value = "用户密码")
    private String password;
    @ApiModelProperty(value = "用户名称")
    private String realName;
    @ApiModelProperty(value = "用户电话")
    private String phone;

    @ApiModelProperty(value = "用户邮箱")
    private String email;
    @ApiModelProperty(value = "用户地址")
    private String address;
    @ApiModelProperty(value = "用户状态")
    private Integer status;
    @ApiModelProperty(value = "用户区域id")
    private String regionId;
    @ApiModelProperty(value = "用户最后登录时间")
    private Date lastLoginAt;
    @ApiModelProperty(value = "用户创建时间")
    private Date createAt;
    @ApiModelProperty(value = "用户修改时间")
    private Date updateAt;
    @ApiModelProperty(value = "用户单位")
    private String unit;
    @ApiModelProperty(value = "用户角色")
    private String roleId;
    private Integer regionType;
    private String regionHeader;


}